﻿using Bot.Domain.Entities;
using Comm100.Framework;
using Comm100.Framework.AutoMapper;
using Comm100.Public;
using Bot.Domain.Bo;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Bot.Domain;

namespace Bot.Application.Dto
{
    [AutoMapTo(typeof(Response))]
    public class ResponseCreateDto
    {
        public Guid ParentId { get; set; }
        [Required]
        public string Type { get; set; }
        public List<string> TextVariants { get; set; }
        public List<string> HtmlTextVariants { get; set; }
        [MaxLength(ResponseStringLength.MaxLength_Message)]
        public string Message { get; set; }
        [MaxLength(ResponseStringLength.MaxLength_VideoUrl)]
        public string VideoUrl { get; set; }
        [Required]
        public int Order { get; set; }

        public ImageCreateDto Image { get; set; }
        public QuickReplyCreateDto QuickReply { get; set; }
        public List<ResponseButtonCreateDto> Buttons { get; set; }
        public WebhookCreateDto Webhook { get; set; }
    }
}
